<%--
  Created by IntelliJ IDEA.
  User: 18070
  Date: 2022/9/22
  Time: 23:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2 style="text-align: center">个人资料修改</h2>
   <form action="/UserCenter/updateUserData" method="post">
       <input type="hidden" name="uno" value="${sessionScope.user.uno}">
       <table style="width: 400px;height: 350px;text-align: center;margin-left: 200px;margin-top: 50px;border: 1px solid darkgrey">
           <tr>
               <td>用户名:</td>
               <td><input readonly="readonly" type="text" name="uname" value="${user.uname}"></td>
           </tr>
           <tr>
               <td>密码:</td>
               <td><input type="text" name="upassword" value="${user.upassword}"></td>
           </tr>
           <tr>
               <td>邮箱:</td>
               <td><input type="text" name="uemail" value="${user.uemail}"></td>
           </tr>
           <tr>
               <td>电话号:</td>
               <td><input type="text" name="uphone" value="${user.uphone}"></td>
           </tr>
           <tr>
               <td>实名状态:</td>
               <td>
                   <c:if test="${user.realstatus==0}">未实名</c:if>
                   <c:if test="${user.realstatus==1}">审核中</c:if>
                   <c:if test="${user.realstatus==2}">未通过</c:if>
                   <c:if test="${user.realstatus==3}">已通过</c:if>
               </td>
           </tr>
           <tr>
               <td colspan="2">
                   <input style="color: green" type="submit" value="更新信息">
               </td>
           </tr>
       </table>
   </form>
</body>
</html>
